package com.artPreter.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data

public class HttpResult {

    private int code;

    /**
     * 总周期
     */
    private String body;
    /**
     * 条数
     */
    public HttpResult(int code) {
        this.code = code;
    }

    public HttpResult(int code, String bodyData) {
        this.code = code;
        this.body = bodyData;
    }
}
